package com.logistics.team3.po;
// default package

import java.util.HashSet;
import java.util.Set;


/**
 * 地址表
 * Address entity. @author MyEclipse Persistence Tools
 */

public class Address  implements java.io.Serializable {

	private static final long serialVersionUID = 7496325030885979368L;

	private String id;
     /**
      *区县
      */
     private Country country;
     /**
      *城市 
      */
     private City city;
     /**
      *省份 
      */
     private Province province;
     /**
      *省份 
      */
     private String fullAddress;
     /**
      * 状态
      */
     private Integer state;
     /**
      *详细地址 
      */
     private Set commonAddresses = new HashSet(0);
     private Set clitents = new HashSet(0);
     private Set distributions = new HashSet(0);
     private Set ordersForSendAddress = new HashSet(0);
     private Set ordersForReceiveAddress = new HashSet(0);


    // Constructors

    /** default constructor */
    public Address() {
    }

    
    /** full constructor */
    public Address(Country country, City city, Province province, String fullAddress, Set commonAddresses, Set clitents, Set distributions, Set ordersForSendAddress, Set ordersForReceiveAddress) {
        this.country = country;
        this.city = city;
        this.province = province;
        this.fullAddress = fullAddress;
        this.commonAddresses = commonAddresses;
        this.clitents = clitents;
        this.distributions = distributions;
        this.ordersForSendAddress = ordersForSendAddress;
        this.ordersForReceiveAddress = ordersForReceiveAddress;
    }

   
    // Property accessors

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }

    public Country getCountry() {
        return this.country;
    }
    
    public void setCountry(Country country) {
        this.country = country;
    }

    public City getCity() {
        return this.city;
    }
    
    public void setCity(City city) {
        this.city = city;
    }

    public Province getProvince() {
        return this.province;
    }
    
    public void setProvince(Province province) {
        this.province = province;
    }

    public String getFullAddress() {
        return this.fullAddress;
    }
    
    public void setFullAddress(String fullAddress) {
        this.fullAddress = fullAddress;
    }

    public Set getCommonAddresses() {
        return this.commonAddresses;
    }
    
    public void setCommonAddresses(Set commonAddresses) {
        this.commonAddresses = commonAddresses;
    }

    public Set getClitents() {
        return this.clitents;
    }
    
    public void setClitents(Set clitents) {
        this.clitents = clitents;
    }

    public Set getDistributions() {
        return this.distributions;
    }
    
    public void setDistributions(Set distributions) {
        this.distributions = distributions;
    }

    public Set getOrdersForSendAddress() {
        return this.ordersForSendAddress;
    }
    
    public void setOrdersForSendAddress(Set ordersForSendAddress) {
        this.ordersForSendAddress = ordersForSendAddress;
    }

    public Set getOrdersForReceiveAddress() {
        return this.ordersForReceiveAddress;
    }
    
    public void setOrdersForReceiveAddress(Set ordersForReceiveAddress) {
        this.ordersForReceiveAddress = ordersForReceiveAddress;
    }


	public Integer getState() {
		return state;
	}


	public void setState(Integer state) {
		this.state = state;
	}
    
}